#include "Task.h"

/*MyTask*/
MyTask::MyTask(const std::string &msg, const TcpConnectionPtr &con)
    : _msg(msg), _con(con) {}

void MyTask::process() 
{
    _con->sendInLoop(_msg);
}
/**/